-- GENERATED SPELL FOR [Bristlelimb Warrior] --


function spell0_17321(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17321', 631, 1)
end

function Sorts_17321(pUnit, Event)
local choix_sorts_17321 = math.random(0, 0)
if choix_sorts_17321 == 0 then
pUnit:RegisterEvent('spell0_17321', 1, 1)
end
end

function mob17321_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17321', math.random(1500, 3000), 1)
end

function mob17321_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17321_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17321_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17321, 1, 'mob17321_Action')
RegisterUnitEvent(17321, 2, 'mob17321_Leave')
RegisterUnitEvent(17321, 3, 'mob17321_Kill')
RegisterUnitEvent(17321, 4, 'mob17321_Die')
